<?php

return [
    'menu' => [
        'user' => [  /// controller名
            'name' => '用户管理',
            'ico' => '&#xe726;',
            'sub' => [
                'user' => ['name' => '会员列表', 'uri' => '/user/user', 'show' => true, 'method' => 'get'],  //index 方法名
                'user_edit' => ['name' => '会员编辑', 'uri' => '/user/user_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'user_add' => ['name' => '添加会员', 'uri' => '/user/user_add', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'lockmoney_edit' => ['name' => '锁仓累计资产编辑', 'uri' => '/user/lockmoney_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'userstart' => ['name' => '修改会员合伙人、冻结、社区长、状态', 'uri' => '/user/userstart', 'show' => false, 'method' => 'post'],  //index 方法名
                'userskeys' => ['name' => '修改私钥状态', 'uri' => '/user/userskeys', 'show' => false, 'method' => 'post'],  //index 方法名
                'money' => ['name' => '资产列表', 'uri' => '/user/money', 'show' => true, 'method' => 'get'],  //index 方法名
                'money_edit' => ['name' => '资产编辑', 'uri' => '/user/money_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'moneyerdit' => ['name' => '会员资产导出', 'uri' => '/user/moneyerdit', 'show' => false, 'method' => 'post'],  //index 方法名
                'money_log' => ['name' => '资产记录', 'uri' => '/user/money_log', 'show' => true, 'method' => 'get'],  //index 方法名

            ],
            'show' => true,
        ],
        'order' => [  /// controller名
            'name' => '交易管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '币种对列表', 'uri' => '/order/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'quotes_edit' => ['name' => '币种对编辑|添加', 'uri' => '/order/quotes_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'price' => ['name' => '平台价格', 'uri' => '/order/price', 'show' => true, 'method' => 'get'],  //index 方法名
                'price_edit' => ['name' => '平台价格编辑|添加', 'uri' => '/order/price_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'order' => ['name' => '交易订单', 'uri' => '/order/order', 'show' => true, 'method' => 'get'],  //index 方法名
                'orderstr' => ['name' => '交易订单审核', 'uri' => '/order/orderstr', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'orderlog' => ['name' => '订单明细', 'uri' => '/order/orderlog', 'show' => true, 'method' => 'get'],  //index 方法名
                'withdraw' => ['name' => '提币管理', 'uri' => '/order/withdraw', 'show' => true, 'method' => 'get'],  //index 方法名
                'withdrawstr' => ['name' => '提币审核', 'uri' => '/order/withdrawstr', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'wallet' => ['name' => '钱包管理', 'uri' => '/order/wallet', 'show' => true, 'method' => 'get'],  //index 方法名
                'walletstr' => ['name' => '手动提币操作', 'uri' => '/order/walletstr', 'show' => false, 'method' => 'get|post'],  //index 方法名
            ],
            'show' => false,
        ],

        'admin' => [  /// controller名
            'name' => '权限管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '管理员列表', 'uri' => '/admin/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'input' => ['name' => '添加管理员', 'uri' => '/admin/input', 'show' => false, 'method' => 'get|post'],
                'del' => ['name' => '删除管理员', 'uri' => '/admin/del', 'show' => false, 'method' => 'get|post'],
                'login_log' => ['name' => '登录日志', 'uri' => '/admin/login_log', 'show' => true, 'method' => 'get']
            ],
            'show' => true,
        ],
        'system' => [
            'name' => '系统管理',
            'ico' => '&#xe6ae;',
            'sub' => [
                'index' => ['name' => '系统配置', 'uri' => '/system/index', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'config_edit' => ['name' => '修改', 'uri' => '/system/config_edit', 'show' => false, 'method' => 'get|post'],
                'annou' => ['name' => '公告列表', 'uri' => '/system/annou', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'annou_add' => ['name' => '添加/修改', 'uri' => '/system/annou_add', 'show' => false, 'method' => 'get|post'],
                'annou_del' => ['name' => '删除', 'uri' => '/system/annou_del', 'show' => false, 'method' => 'get|post'],
                'ad' => ['name' => '广告', 'uri' => '/system/ad', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'ad_add' => ['name' => '添加/修改', 'uri' => '/system/ad_add', 'show' => false, 'method' => 'get|post'],
                'ad_del' => ['name' => '删除', 'uri' => '/system/ad_del', 'show' => false, 'method' => 'get|post'],
                'message' => ['name' => '反馈信息管理', 'uri' => '/system/message', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'message_add' => ['name' => '评论回复', 'uri' => '/system/message_add', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true, //是否打开这个功能
        ]
    ]
];
